<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTDXHTML1.0Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ody>
<head>
	<title>%name%</title>
</head>
<IF:showtb>
<body>
	<p><strong>Recently Spotted:</strong><IF:spotted>%spotted%</IF:spotted></p>
	<p><strong>Curent GOAL:</strong><IF:goal>%goal%</IF:goal></p>
	<p><strong>About this item:</strong><IF:detail>%detail%</IF:detail></p>
	<p>
		<a href="%SERVICE_URL%?_state=foundtb;wid=%wid%;guid=%guid%" class="listItem">Found It? Log It?</a>
		<a href="%SERVICE_URL%?_state=routetb;wid=%wid%" class="listItem">View Route</a>
	</p>
</body>
</IF:showtb>
<IF:formtb>
<body class="form">
	<form action="%SERVICE_URL%" method="post">
		<fieldset>
			<input type="hidden" name="_state" value="logtb" />
			<input type="hidden" name="wid" value="%wid%" />
			<input type="hidden" name="guid" value="%guid%" />
			<input type="hidden" name="viewstate" value="%__VIEWSTATE%" />
			<label for="type">Type of log:</label><br />
          		<select name="logType">
					<option value="13">Retrieve It</option>
					<option value="19">Grab It</option>
					<option value="4">Write note</option>
					<option value="48">Discovered It</option>
				</select>
			<label for="date">Date:</label><br />
          		<select name="logDate">
          			<LOOP:LOOP_LOGDATE>
						<option value="%value%" <IF:selected>selected="selected"</IF:selected>>%date%</option>
					</LOOP:LOOP_LOGDATE>
				</select>
			<label for="tracking">Travel Bug Tracking #</label><br />
			<input type="text" name="logTrack" value="">
			<label for="logtext">Comments:</label><br />
			<textarea name="logText"></textarea><br />
         	<input type="submit" value="Submit Log Entry" /><br />
		</fieldset>
    </form>
</body>
</IF:formtb>

</html>